package com.lanou.utp.service;

import com.lanou.utp.entity.ResponseData;
import com.lanou.utp.entity.Teachlink;
import com.lanou.utp.utils.IdAndName;
import com.lanou.utp.utils.TeachLinkQuery;

import java.util.List;

/**
 * @author MaQingYun
 */
public interface TeachingServcie {

    ResponseData getTeachlinks(TeachLinkQuery query);

    void addTeachingLink(Teachlink teachlink);

    List<IdAndName> getTeachlinkTeachers(long id);

    void updateTeachlinkStatus(Long id);

    Teachlink getTeachlinkById(Long id);

    void updateTeachlink(Teachlink teachlink);

    void deleteTeachinkById(Long id);




}
